<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Display Errors</title>
</head>
<body>
<h2>Testing Display Errors</h2>
<?php # Script 7.1 - display_errors.php

// Show errors:
ini_set('display_errors', 1);

// Create errors:
foreach ($var as $v){}
$result = 1/0;

?>
</body>
</html>